home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc1_2_x / shadwchr.sit / ShadowChar.sit / Shadowrun Characters no rpt / background_2645.txt < prev    next >
Text File  |  1989-10-24  |  32KB  |  1,344 lines

  1. -- background: 2645 from stack: in
  2. -- bmap block id: 3290
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: noteback
  6. ----- HyperTalk script -----
  7. on closecard
  8.   put fld topic into j
  9.   put short name of this card into k
  10.   if j <> k then
  11.     send closefield to fld topic
  12.   end if
  13.   if the visible of fld indexlist is true then
  14.     lock screen
  15.     hide fld indexlist
  16.     hide field indexback
  17.     unlock screen with visual dissolve
  18.   end if
  19. end closecard
  20.  
  21. on newcard
  22.   put field cyberdeckhd of cd "master card" into fld cyberdeckhd
  23.   put field vehiclehd of cd "master card" into fld vehiclehd
  24.   put field "other gearhd" of cd "master card" into fld "other gearhd"
  25.   put field noteshd of cd "master card" into fld noteshd
  26.   put field weaponshd of cd "master card" into fld weaponshd
  27.   put field spellshd of cd "master card" into fld spellshd
  28.   put field skillshd of cd "master card" into fld skillshd
  29.   put field poolshd of cd "master card" into fld poolshd
  30.   put field contactshd of cd "master card" into fld contactshd
  31.   put field conditionhd of cd "master card" into fld conditionhd
  32.   put field cyberwearhd of cd "master card" into fld cyberwearhd
  33.   pass newcard
  34. end newcard
  35.  
  36.  
  37.  
  38.  
  39. -- part 1 (button)
  40. -- low flags: 00
  41. -- high flags: 2000
  42. -- rect: left=481 top=24 right=49 bottom=512
  43. -- title width / last selected line: 0
  44. -- icon id / first selected line: 8419 / 8419
  45. -- text alignment: 1
  46. -- font id: 0
  47. -- text size: 12
  48. -- style flags: 0
  49. -- line height: 16
  50. -- part name: Next Card
  51. ----- HyperTalk script -----
  52. on mouseUp
  53.   visual effect scroll left
  54.   go next card
  55. end mouseUp
  56.  
  57.  
  58.  
  59. -- part 2 (button)
  60. -- low flags: 00
  61. -- high flags: 2000
  62. -- rect: left=412 top=24 right=50 bottom=445
  63. -- title width / last selected line: 0
  64. -- icon id / first selected line: 17779 / 17779
  65. -- text alignment: 1
  66. -- font id: 0
  67. -- text size: 12
  68. -- style flags: 0
  69. -- line height: 16
  70. -- part name: Prev card
  71. ----- HyperTalk script -----
  72. on mouseUp
  73.   visual effect scroll right
  74.   go prev cd
  75. end mouseUp
  76.  
  77.  
  78.  
  79. -- part 11 (field)
  80. -- low flags: 00
  81. -- high flags: 4000
  82. -- rect: left=41 top=26 right=45 bottom=246
  83. -- title width / last selected line: 0
  84. -- icon id / first selected line: 0 / 0
  85. -- text alignment: 0
  86. -- font id: 3
  87. -- text size: 12
  88. -- style flags: 256
  89. -- line height: 16
  90. -- part name: Topic
  91. ----- HyperTalk script -----
  92. on closefield
  93.   global index
  94.   get the number of chars of me
  95.   if char it of me is return then
  96.     delete char it of me
  97.   end if
  98.   set the name of this card to fld topic
  99.   put the number of this card into cardnum
  100.   put cardnum +1 into nextnum
  101.   if cardnum is not the number of cards then
  102.     put the short name of card nextnum into nexter
  103.     put line cardnum of index into nextitem
  104.     if nexter = nextitem then
  105.       put fld topic & return before line cardnum of index
  106.     else
  107.       put fld topic into line cardnum of index
  108.     end if
  109.   else
  110.     put fld topic & return into line cardnum of index
  111.     if line nextnum of index is not empty then
  112.       put "" into line nextnum of index
  113.     end if
  114.   end if
  115. end closefield
  116.  
  117.  
  118.  
  119. -- part 13 (button)
  120. -- low flags: 00
  121. -- high flags: 0000
  122. -- rect: left=446 top=24 right=50 bottom=479
  123. -- title width / last selected line: 0
  124. -- icon id / first selected line: 21700 / 21700
  125. -- text alignment: 1
  126. -- font id: 0
  127. -- text size: 12
  128. -- style flags: 0
  129. -- line height: 16
  130. -- part name: 
  131. ----- HyperTalk script -----
  132. on mouseUp
  133.   go home
  134. end mouseUp
  135.  
  136.  
  137.  
  138. -- part 14 (button)
  139. -- low flags: 00
  140. -- high flags: A002
  141. -- rect: left=420 top=85 right=102 bottom=512
  142. -- title width / last selected line: 0
  143. -- icon id / first selected line: 0 / 0
  144. -- text alignment: 1
  145. -- font id: 0
  146. -- text size: 12
  147. -- style flags: 0
  148. -- line height: 16
  149. -- part name: Sort Cards
  150. ----- HyperTalk script -----
  151. on mouseUp
  152.   sort by fld topic
  153.   send mouseup to bg btn "Rebuild Index"
  154. end mouseUp
  155.  
  156.  
  157.  
  158. -- part 15 (button)
  159. -- low flags: 00
  160. -- high flags: A002
  161. -- rect: left=420 top=69 right=86 bottom=512
  162. -- title width / last selected line: 0
  163. -- icon id / first selected line: 0 / 0
  164. -- text alignment: 1
  165. -- font id: 0
  166. -- text size: 12
  167. -- style flags: 0
  168. -- line height: 16
  169. -- part name: Find Text
  170. ----- HyperTalk script -----
  171. on mouseUp
  172.   domenu "find..."
  173. end mouseUp
  174.  
  175.  
  176.  
  177. -- part 16 (button)
  178. -- low flags: 00
  179. -- high flags: A002
  180. -- rect: left=405 top=51 right=69 bottom=511
  181. -- title width / last selected line: 0
  182. -- icon id / first selected line: 0 / 0
  183. -- text alignment: 1
  184. -- font id: 0
  185. -- text size: 12
  186. -- style flags: 0
  187. -- line height: 16
  188. -- part name: Find Character
  189. ----- HyperTalk script -----
  190. on mouseUp
  191.   global index
  192.   If the visible of field indexlist is true then
  193.     lock screen
  194.     set the visible of field indexlist to false
  195.     set the visible of field indexback to false
  196.     unlock screen with visual effect dissolve
  197.   else
  198.     lock screen
  199.     put index into fld indexlist
  200.     set the visible of field indexlist to true
  201.     set the visible of field indexback to true
  202.     unlock screen with visual effect dissolve
  203.   end if
  204.   set the locktext of field indexlist to true
  205. end mouseUp
  206.  
  207.  
  208.  
  209. -- part 22 (field)
  210. -- low flags: 80
  211. -- high flags: 0007
  212. -- rect: left=4 top=49 right=315 bottom=441
  213. -- title width / last selected line: 0
  214. -- icon id / first selected line: 0 / 0
  215. -- text alignment: 0
  216. -- font id: 3
  217. -- text size: 12
  218. -- style flags: 0
  219. -- line height: 16
  220. -- part name: indexkeeper
  221.  
  222.  
  223. -- part 24 (field)
  224. -- low flags: 00
  225. -- high flags: 4001
  226. -- rect: left=87 top=47 right=66 bottom=292
  227. -- title width / last selected line: 0
  228. -- icon id / first selected line: 0 / 0
  229. -- text alignment: 0
  230. -- font id: 3
  231. -- text size: 12
  232. -- style flags: 256
  233. -- line height: 16
  234. -- part name: streetname
  235. ----- HyperTalk script -----
  236. on closefield
  237.   global index
  238.   get the number of chars of me
  239.   if char it of me is return then
  240.     delete char it of me
  241.   end if
  242.   set the name of this card to fld topic
  243.   put the number of this card into cardnum
  244.   put cardnum +1 into nextnum
  245.   if cardnum is not the number of cards then
  246.     put the short name of card nextnum into nexter
  247.     put line cardnum of index into nextitem
  248.     if nexter = nextitem then
  249.       put fld topic & return before line cardnum of index
  250.     else
  251.       put fld topic into line cardnum of index
  252.     end if
  253.   else
  254.     put fld topic & return into line cardnum of index
  255.     if line nextnum of index is not empty then
  256.       put "" into line nextnum of index
  257.     end if
  258.   end if
  259. end closefield
  260.  
  261.  
  262.  
  263. -- part 25 (field)
  264. -- low flags: 00
  265. -- high flags: 4001
  266. -- rect: left=330 top=49 right=68 bottom=363
  267. -- title width / last selected line: 0
  268. -- icon id / first selected line: 0 / 0
  269. -- text alignment: 0
  270. -- font id: 3
  271. -- text size: 12
  272. -- style flags: 256
  273. -- line height: 16
  274. -- part name: sex
  275. ----- HyperTalk script -----
  276. on closefield
  277.   global index
  278.   get the number of chars of me
  279.   if char it of me is return then
  280.     delete char it of me
  281.   end if
  282.   set the name of this card to fld topic
  283.   put the number of this card into cardnum
  284.   put cardnum +1 into nextnum
  285.   if cardnum is not the number of cards then
  286.     put the short name of card nextnum into nexter
  287.     put line cardnum of index into nextitem
  288.     if nexter = nextitem then
  289.       put fld topic & return before line cardnum of index
  290.     else
  291.       put fld topic into line cardnum of index
  292.     end if
  293.   else
  294.     put fld topic & return into line cardnum of index
  295.     if line nextnum of index is not empty then
  296.       put "" into line nextnum of index
  297.     end if
  298.   end if
  299. end closefield
  300.  
  301.  
  302.  
  303. -- part 35 (field)
  304. -- low flags: 00
  305. -- high flags: 4001
  306. -- rect: left=37 top=67 right=86 bottom=118
  307. -- title width / last selected line: 0
  308. -- icon id / first selected line: 0 / 0
  309. -- text alignment: 0
  310. -- font id: 3
  311. -- text size: 12
  312. -- style flags: 256
  313. -- line height: 16
  314. -- part name: race
  315. ----- HyperTalk script -----
  316. on closefield
  317.   global index
  318.   get the number of chars of me
  319.   if char it of me is return then
  320.     delete char it of me
  321.   end if
  322.   set the name of this card to fld topic
  323.   put the number of this card into cardnum
  324.   put cardnum +1 into nextnum
  325.   if cardnum is not the number of cards then
  326.     put the short name of card nextnum into nexter
  327.     put line cardnum of index into nextitem
  328.     if nexter = nextitem then
  329.       put fld topic & return before line cardnum of index
  330.     else
  331.       put fld topic into line cardnum of index
  332.     end if
  333.   else
  334.     put fld topic & return into line cardnum of index
  335.     if line nextnum of index is not empty then
  336.       put "" into line nextnum of index
  337.     end if
  338.   end if
  339. end closefield
  340.  
  341.  
  342.  
  343. -- part 36 (field)
  344. -- low flags: 00
  345. -- high flags: 4001
  346. -- rect: left=170 top=67 right=86 bottom=213
  347. -- title width / last selected line: 0
  348. -- icon id / first selected line: 0 / 0
  349. -- text alignment: 0
  350. -- font id: 3
  351. -- text size: 12
  352. -- style flags: 256
  353. -- line height: 16
  354. -- part name: karma
  355. ----- HyperTalk script -----
  356. on closefield
  357.   global index
  358.   get the number of chars of me
  359.   if char it of me is return then
  360.     delete char it of me
  361.   end if
  362.   set the name of this card to fld topic
  363.   put the number of this card into cardnum
  364.   put cardnum +1 into nextnum
  365.   if cardnum is not the number of cards then
  366.     put the short name of card nextnum into nexter
  367.     put line cardnum of index into nextitem
  368.     if nexter = nextitem then
  369.       put fld topic & return before line cardnum of index
  370.     else
  371.       put fld topic into line cardnum of index
  372.     end if
  373.   else
  374.     put fld topic & return into line cardnum of index
  375.     if line nextnum of index is not empty then
  376.       put "" into line nextnum of index
  377.     end if
  378.   end if
  379. end closefield
  380.  
  381.  
  382.  
  383. -- part 37 (field)
  384. -- low flags: 00
  385. -- high flags: 4000
  386. -- rect: left=293 top=67 right=86 bottom=415
  387. -- title width / last selected line: 0
  388. -- icon id / first selected line: 0 / 0
  389. -- text alignment: 0
  390. -- font id: 3
  391. -- text size: 12
  392. -- style flags: 256
  393. -- line height: 16
  394. -- part name: archetype
  395. ----- HyperTalk script -----
  396. on closefield
  397.   global index
  398.   get the number of chars of me
  399.   if char it of me is return then
  400.     delete char it of me
  401.   end if
  402.   set the name of this card to fld topic
  403.   put the number of this card into cardnum
  404.   put cardnum +1 into nextnum
  405.   if cardnum is not the number of cards then
  406.     put the short name of card nextnum into nexter
  407.     put line cardnum of index into nextitem
  408.     if nexter = nextitem then
  409.       put fld topic & return before line cardnum of index
  410.     else
  411.       put fld topic into line cardnum of index
  412.     end if
  413.   else
  414.     put fld topic & return into line cardnum of index
  415.     if line nextnum of index is not empty then
  416.       put "" into line nextnum of index
  417.     end if
  418.   end if
  419. end closefield
  420.  
  421.  
  422.  
  423. -- part 38 (field)
  424. -- low flags: 00
  425. -- high flags: 4001
  426. -- rect: left=63 top=87 right=106 bottom=184
  427. -- title width / last selected line: 0
  428. -- icon id / first selected line: 0 / 0
  429. -- text alignment: 0
  430. -- font id: 3
  431. -- text size: 12
  432. -- style flags: 256
  433. -- line height: 16
  434. -- part name: lifestyle
  435. ----- HyperTalk script -----
  436. on closefield
  437.   global index
  438.   get the number of chars of me
  439.   if char it of me is return then
  440.     delete char it of me
  441.   end if
  442.   set the name of this card to fld topic
  443.   put the number of this card into cardnum
  444.   put cardnum +1 into nextnum
  445.   if cardnum is not the number of cards then
  446.     put the short name of card nextnum into nexter
  447.     put line cardnum of index into nextitem
  448.     if nexter = nextitem then
  449.       put fld topic & return before line cardnum of index
  450.     else
  451.       put fld topic into line cardnum of index
  452.     end if
  453.   else
  454.     put fld topic & return into line cardnum of index
  455.     if line nextnum of index is not empty then
  456.       put "" into line nextnum of index
  457.     end if
  458.   end if
  459. end closefield
  460.  
  461.  
  462.  
  463. -- part 39 (field)
  464. -- low flags: 00
  465. -- high flags: 4000
  466. -- rect: left=274 top=87 right=106 bottom=354
  467. -- title width / last selected line: 0
  468. -- icon id / first selected line: 0 / 0
  469. -- text alignment: 0
  470. -- font id: 3
  471. -- text size: 12
  472. -- style flags: 256
  473. -- line height: 16
  474. -- part name: money
  475. ----- HyperTalk script -----
  476. on closefield
  477.   global index
  478.   get the number of chars of me
  479.   if char it of me is return then
  480.     delete char it of me
  481.   end if
  482.   set the name of this card to fld topic
  483.   put the number of this card into cardnum
  484.   put cardnum +1 into nextnum
  485.   if cardnum is not the number of cards then
  486.     put the short name of card nextnum into nexter
  487.     put line cardnum of index into nextitem
  488.     if nexter = nextitem then
  489.       put fld topic & return before line cardnum of index
  490.     else
  491.       put fld topic into line cardnum of index
  492.     end if
  493.   else
  494.     put fld topic & return into line cardnum of index
  495.     if line nextnum of index is not empty then
  496.       put "" into line nextnum of index
  497.     end if
  498.   end if
  499. end closefield
  500.  
  501.  
  502.  
  503. -- part 40 (field)
  504. -- low flags: 00
  505. -- high flags: 4000
  506. -- rect: left=89 top=136 right=150 bottom=116
  507. -- title width / last selected line: 0
  508. -- icon id / first selected line: 0 / 0
  509. -- text alignment: 1
  510. -- font id: 3
  511. -- text size: 10
  512. -- style flags: 0
  513. -- line height: 13
  514. -- part name: body
  515.  
  516.  
  517. -- part 41 (field)
  518. -- low flags: 00
  519. -- high flags: 4000
  520. -- rect: left=89 top=149 right=163 bottom=116
  521. -- title width / last selected line: 0
  522. -- icon id / first selected line: 0 / 0
  523. -- text alignment: 1
  524. -- font id: 3
  525. -- text size: 10
  526. -- style flags: 0
  527. -- line height: 13
  528. -- part name: quickness
  529.  
  530.  
  531. -- part 43 (field)
  532. -- low flags: 00
  533. -- high flags: 4001
  534. -- rect: left=89 top=163 right=177 bottom=116
  535. -- title width / last selected line: 0
  536. -- icon id / first selected line: 0 / 0
  537. -- text alignment: 1
  538. -- font id: 3
  539. -- text size: 10
  540. -- style flags: 0
  541. -- line height: 13
  542. -- part name: strength
  543.  
  544.  
  545. -- part 45 (field)
  546. -- low flags: 00
  547. -- high flags: 4001
  548. -- rect: left=89 top=187 right=201 bottom=116
  549. -- title width / last selected line: 0
  550. -- icon id / first selected line: 0 / 0
  551. -- text alignment: 1
  552. -- font id: 3
  553. -- text size: 10
  554. -- style flags: 0
  555. -- line height: 13
  556. -- part name: charisma
  557.  
  558.  
  559. -- part 46 (field)
  560. -- low flags: 00
  561. -- high flags: 4000
  562. -- rect: left=89 top=200 right=214 bottom=116
  563. -- title width / last selected line: 0
  564. -- icon id / first selected line: 0 / 0
  565. -- text alignment: 1
  566. -- font id: 3
  567. -- text size: 10
  568. -- style flags: 0
  569. -- line height: 13
  570. -- part name: intelligence
  571.  
  572.  
  573. -- part 47 (field)
  574. -- low flags: 00
  575. -- high flags: 4001
  576. -- rect: left=89 top=213 right=227 bottom=116
  577. -- title width / last selected line: 0
  578. -- icon id / first selected line: 0 / 0
  579. -- text alignment: 1
  580. -- font id: 3
  581. -- text size: 10
  582. -- style flags: 0
  583. -- line height: 13
  584. -- part name: willpower
  585.  
  586.  
  587. -- part 48 (field)
  588. -- low flags: 00
  589. -- high flags: 4001
  590. -- rect: left=89 top=241 right=255 bottom=116
  591. -- title width / last selected line: 0
  592. -- icon id / first selected line: 0 / 0
  593. -- text alignment: 1
  594. -- font id: 3
  595. -- text size: 10
  596. -- style flags: 0
  597. -- line height: 13
  598. -- part name: essence
  599.  
  600.  
  601. -- part 49 (field)
  602. -- low flags: 00
  603. -- high flags: 4001
  604. -- rect: left=89 top=254 right=268 bottom=116
  605. -- title width / last selected line: 0
  606. -- icon id / first selected line: 0 / 0
  607. -- text alignment: 1
  608. -- font id: 3
  609. -- text size: 10
  610. -- style flags: 0
  611. -- line height: 13
  612. -- part name: magic
  613.  
  614.  
  615. -- part 50 (field)
  616. -- low flags: 00
  617. -- high flags: 4001
  618. -- rect: left=89 top=267 right=281 bottom=116
  619. -- title width / last selected line: 0
  620. -- icon id / first selected line: 0 / 0
  621. -- text alignment: 1
  622. -- font id: 3
  623. -- text size: 10
  624. -- style flags: 0
  625. -- line height: 13
  626. -- part name: reaction
  627.  
  628.  
  629. -- part 51 (field)
  630. -- low flags: 80
  631. -- high flags: 2007
  632. -- rect: left=133 top=153 right=335 bottom=342
  633. -- title width / last selected line: 0
  634. -- icon id / first selected line: 0 / 0
  635. -- text alignment: 0
  636. -- font id: 3
  637. -- text size: 12
  638. -- style flags: 0
  639. -- line height: 16
  640. -- part name: skills
  641.  
  642.  
  643. -- part 86 (field)
  644. -- low flags: 00
  645. -- high flags: 4001
  646. -- rect: left=78 top=293 right=307 bottom=132
  647. -- title width / last selected line: 0
  648. -- icon id / first selected line: 0 / 0
  649. -- text alignment: 1
  650. -- font id: 3
  651. -- text size: 10
  652. -- style flags: 0
  653. -- line height: 13
  654. -- part name: substance
  655.  
  656.  
  657. -- part 52 (button)
  658. -- low flags: 00
  659. -- high flags: A004
  660. -- rect: left=133 top=106 right=130 bottom=267
  661. -- title width / last selected line: 0
  662. -- icon id / first selected line: 0 / 0
  663. -- text alignment: 1
  664. -- font id: 0
  665. -- text size: 12
  666. -- style flags: 0
  667. -- line height: 16
  668. -- part name: Notes
  669. ----- HyperTalk script -----
  670. on mouseDown
  671.   put "Skills,Condition,Weapons,Cyberwear,Spells,Pools,Cyberdeck,Vehicle,Other Gear,Contacts,Picture,Notes" into theMenuItems
  672.   get PopUpMenu (theMenuItems, 0, left of me+1, bottom of me)
  673.   if it is not 0 and it is not the short name of me then
  674.     put item it of theMenuItems into theName
  675.     lock screen
  676.     put the short name of me into oldField
  677.     if oldfield is not "Picture" then
  678.       hide fld oldField
  679.       hide fld (oldfield & "hd")
  680.       if oldfield is "vehicle" then
  681.         hide fld "vehicle items"
  682.         hide fld "vehicle damage"
  683.         hide fld "vehicle type"
  684.       else if oldfield is "condition" then
  685.         hide fld "condition mental"
  686.       else if oldfield is "cyberdeck" then
  687.         hide fld "cyberdeck progsize"
  688.         hide fld "cyberdeck monitor"
  689.         hide fld "cyberdeck programs"
  690.       end if
  691.     else
  692.       hide card picture
  693.  
  694.     end if
  695.     set the name of me to theName
  696.     if theName is not "Picture" then
  697.       show fld theName
  698.       show fld (theName & "hd")
  699.       if theName is "vehicle" then
  700.         show fld "vehicle items"
  701.         show fld "vehicle damage"
  702.         show fld "vehicle type"
  703.       else if theName is "condition" then
  704.         show field "condition mental"
  705.       else if theName is "cyberdeck" then
  706.         show field "cyberdeck progsize"
  707.         show field "cyberdeck monitor"
  708.         show field "cyberdeck programs"
  709.       end if
  710.     else
  711.       show card picture
  712.  
  713.     end if
  714.     unlock screen with visual dissolve
  715.   end if
  716. end mouseDown
  717. on setup
  718.   put "Notes" into theName
  719.   lock screen
  720.   put the short name of me into oldField
  721.   if oldfield is not "Picture" then
  722.     hide fld oldField
  723.     hide fld (oldfield & "hd")
  724.     if oldfield is "vehicle" then
  725.       hide fld "vehicle items"
  726.       hide fld "vehicle damage"
  727.       hide fld "vehicle type"
  728.     else if oldfield is "condition" then
  729.       hide fld "condition mental"
  730.     else if oldfield is "cyberdeck" then
  731.       hide fld "cyberdeck progsize"
  732.       hide fld "cyberdeck monitor"
  733.       hide fld "cyberdeck programs"
  734.     else
  735.       hide card picture
  736.     end if
  737.   end if
  738.   set the name of me to "Notes"
  739.   show fld Notes
  740.   show fld Noteshd
  741.   unlock screen with visual dissolve
  742. end setup
  743.  
  744.  
  745.  
  746. -- part 87 (field)
  747. -- low flags: 00
  748. -- high flags: 4001
  749. -- rect: left=78 top=306 right=320 bottom=132
  750. -- title width / last selected line: 0
  751. -- icon id / first selected line: 0 / 0
  752. -- text alignment: 1
  753. -- font id: 3
  754. -- text size: 10
  755. -- style flags: 0
  756. -- line height: 13
  757. -- part name: severity
  758.  
  759.  
  760. -- part 89 (field)
  761. -- low flags: 00
  762. -- high flags: 4001
  763. -- rect: left=78 top=319 right=333 bottom=132
  764. -- title width / last selected line: 0
  765. -- icon id / first selected line: 0 / 0
  766. -- text alignment: 1
  767. -- font id: 3
  768. -- text size: 10
  769. -- style flags: 0
  770. -- line height: 13
  771. -- part name: racial
  772.  
  773.  
  774. -- part 54 (field)
  775. -- low flags: 80
  776. -- high flags: 2007
  777. -- rect: left=133 top=151 right=335 bottom=404
  778. -- title width / last selected line: 0
  779. -- icon id / first selected line: 0 / 0
  780. -- text alignment: 0
  781. -- font id: 3
  782. -- text size: 12
  783. -- style flags: 0
  784. -- line height: 16
  785. -- part name: Contacts
  786.  
  787.  
  788. -- part 55 (field)
  789. -- low flags: 00
  790. -- high flags: 2007
  791. -- rect: left=133 top=151 right=335 bottom=412
  792. -- title width / last selected line: 0
  793. -- icon id / first selected line: 0 / 0
  794. -- text alignment: 0
  795. -- font id: 3
  796. -- text size: 10
  797. -- style flags: 0
  798. -- line height: 13
  799. -- part name: Notes
  800.  
  801.  
  802. -- part 56 (field)
  803. -- low flags: 80
  804. -- high flags: 2007
  805. -- rect: left=135 top=160 right=340 bottom=358
  806. -- title width / last selected line: 0
  807. -- icon id / first selected line: 0 / 0
  808. -- text alignment: 0
  809. -- font id: 3
  810. -- text size: 12
  811. -- style flags: 0
  812. -- line height: 16
  813. -- part name: Other Gear
  814.  
  815.  
  816. -- part 65 (field)
  817. -- low flags: 81
  818. -- high flags: 0001
  819. -- rect: left=134 top=134 right=341 bottom=510
  820. -- title width / last selected line: 0
  821. -- icon id / first selected line: 0 / 0
  822. -- text alignment: 0
  823. -- font id: 3
  824. -- text size: 10
  825. -- style flags: 256
  826. -- line height: 13
  827. -- part name: vehiclehd
  828.  
  829.  
  830. -- part 57 (field)
  831. -- low flags: 80
  832. -- high flags: 4000
  833. -- rect: left=203 top=173 right=280 bottom=232
  834. -- title width / last selected line: 0
  835. -- icon id / first selected line: 0 / 0
  836. -- text alignment: 0
  837. -- font id: 3
  838. -- text size: 10
  839. -- style flags: 0
  840. -- line height: 13
  841. -- part name: Vehicle
  842.  
  843.  
  844. -- part 80 (field)
  845. -- low flags: 81
  846. -- high flags: 0001
  847. -- rect: left=133 top=134 right=342 bottom=512
  848. -- title width / last selected line: 0
  849. -- icon id / first selected line: 0 / 0
  850. -- text alignment: 0
  851. -- font id: 3
  852. -- text size: 10
  853. -- style flags: 256
  854. -- line height: 13
  855. -- part name: cyberdeckhd
  856.  
  857.  
  858. -- part 23 (button)
  859. -- low flags: 00
  860. -- high flags: A002
  861. -- rect: left=420 top=153 right=170 bottom=512
  862. -- title width / last selected line: 0
  863. -- icon id / first selected line: 0 / 0
  864. -- text alignment: 1
  865. -- font id: 0
  866. -- text size: 12
  867. -- style flags: 0
  868. -- line height: 16
  869. -- part name: Delete Card
  870. ----- HyperTalk script -----
  871. on mouseUp
  872.   global index
  873.   if the cantdelete of this card is false then
  874.     put the number of this card into cardnum
  875.     delete line cardnum of index
  876.     put index into fld indexlist
  877.   end if
  878.   domenu "Cut Card"
  879. end mouseUp
  880.  
  881.  
  882.  
  883. -- part 21 (button)
  884. -- low flags: 00
  885. -- high flags: A002
  886. -- rect: left=420 top=134 right=154 bottom=512
  887. -- title width / last selected line: 0
  888. -- icon id / first selected line: 0 / 0
  889. -- text alignment: 1
  890. -- font id: 0
  891. -- text size: 12
  892. -- style flags: 0
  893. -- line height: 16
  894. -- part name: Rebuild Index
  895. ----- HyperTalk script -----
  896. on mouseUp
  897.   global index
  898.   set cursor to watch
  899.   put "This will take a moment." into msg box
  900.   lock screen
  901.   push card
  902.   go to first card
  903.   put "" into index
  904.   repeat for the number of cards
  905.     send closefield to fld topic
  906.     go to next card
  907.     next repeat
  908.   end repeat
  909.   pop card
  910.   put index into fld indexlist
  911.   put index into fld indexkeeper of first card
  912.   unlock screen
  913.   hide msg box
  914.   set cursor to hand
  915. end mouseUp
  916.  
  917.  
  918.  
  919. -- part 4 (button)
  920. -- low flags: 00
  921. -- high flags: A002
  922. -- rect: left=420 top=118 right=135 bottom=512
  923. -- title width / last selected line: 0
  924. -- icon id / first selected line: 0 / 0
  925. -- text alignment: 1
  926. -- font id: 0
  927. -- text size: 12
  928. -- style flags: 0
  929. -- line height: 16
  930. -- part name: Append Card
  931. ----- HyperTalk script -----
  932. on mouseUp
  933.   go last card
  934.   domenu "New Card"
  935. end mouseUp
  936.  
  937.  
  938.  
  939. -- part 3 (button)
  940. -- low flags: 00
  941. -- high flags: A002
  942. -- rect: left=420 top=101 right=119 bottom=512
  943. -- title width / last selected line: 0
  944. -- icon id / first selected line: 0 / 0
  945. -- text alignment: 1
  946. -- font id: 0
  947. -- text size: 12
  948. -- style flags: 0
  949. -- line height: 16
  950. -- part name: Insert Card
  951. ----- HyperTalk script -----
  952. on mouseUp
  953.   DoMenu "New Card"
  954. end mouseUp
  955.  
  956.  
  957.  
  958. -- part 58 (field)
  959. -- low flags: 80
  960. -- high flags: 4002
  961. -- rect: left=197 top=160 right=329 bottom=224
  962. -- title width / last selected line: 0
  963. -- icon id / first selected line: 0 / 0
  964. -- text alignment: 0
  965. -- font id: 3
  966. -- text size: 10
  967. -- style flags: 0
  968. -- line height: 13
  969. -- part name: Cyberdeck
  970.  
  971.  
  972. -- part 59 (field)
  973. -- low flags: 80
  974. -- high flags: 4002
  975. -- rect: left=249 top=151 right=334 bottom=279
  976. -- title width / last selected line: 0
  977. -- icon id / first selected line: 0 / 0
  978. -- text alignment: 1
  979. -- font id: 3
  980. -- text size: 10
  981. -- style flags: 256
  982. -- line height: 13
  983. -- part name: Pools
  984.  
  985.  
  986. -- part 60 (field)
  987. -- low flags: 80
  988. -- high flags: 0002
  989. -- rect: left=133 top=135 right=230 bottom=409
  990. -- title width / last selected line: 0
  991. -- icon id / first selected line: 0 / 0
  992. -- text alignment: 0
  993. -- font id: 3
  994. -- text size: 10
  995. -- style flags: 0
  996. -- line height: 13
  997. -- part name: weapons
  998.  
  999.  
  1000. -- part 61 (field)
  1001. -- low flags: 80
  1002. -- high flags: 0007
  1003. -- rect: left=133 top=153 right=335 bottom=404
  1004. -- title width / last selected line: 0
  1005. -- icon id / first selected line: 0 / 0
  1006. -- text alignment: 0
  1007. -- font id: 3
  1008. -- text size: 10
  1009. -- style flags: 0
  1010. -- line height: 13
  1011. -- part name: spells
  1012.  
  1013.  
  1014. -- part 62 (field)
  1015. -- low flags: 80
  1016. -- high flags: 2007
  1017. -- rect: left=133 top=149 right=335 bottom=322
  1018. -- title width / last selected line: 0
  1019. -- icon id / first selected line: 0 / 0
  1020. -- text alignment: 0
  1021. -- font id: 3
  1022. -- text size: 12
  1023. -- style flags: 0
  1024. -- line height: 16
  1025. -- part name: cyberwear
  1026.  
  1027.  
  1028. -- part 64 (field)
  1029. -- low flags: 81
  1030. -- high flags: 0002
  1031. -- rect: left=133 top=135 right=152 bottom=404
  1032. -- title width / last selected line: 0
  1033. -- icon id / first selected line: 0 / 0
  1034. -- text alignment: 0
  1035. -- font id: 3
  1036. -- text size: 12
  1037. -- style flags: 8448
  1038. -- line height: 16
  1039. -- part name: Contactshd
  1040.  
  1041.  
  1042. -- part 66 (field)
  1043. -- low flags: 81
  1044. -- high flags: 0000
  1045. -- rect: left=135 top=142 right=161 bottom=358
  1046. -- title width / last selected line: 0
  1047. -- icon id / first selected line: 0 / 0
  1048. -- text alignment: 0
  1049. -- font id: 3
  1050. -- text size: 12
  1051. -- style flags: 8448
  1052. -- line height: 16
  1053. -- part name: other gearhd
  1054.  
  1055.  
  1056. -- part 67 (field)
  1057. -- low flags: 01
  1058. -- high flags: 0002
  1059. -- rect: left=133 top=136 right=152 bottom=412
  1060. -- title width / last selected line: 0
  1061. -- icon id / first selected line: 0 / 0
  1062. -- text alignment: 0
  1063. -- font id: 3
  1064. -- text size: 12
  1065. -- style flags: 8448
  1066. -- line height: 16
  1067. -- part name: noteshd
  1068.  
  1069.  
  1070. -- part 68 (field)
  1071. -- low flags: 81
  1072. -- high flags: 0002
  1073. -- rect: left=133 top=135 right=150 bottom=409
  1074. -- title width / last selected line: 0
  1075. -- icon id / first selected line: 0 / 0
  1076. -- text alignment: 0
  1077. -- font id: 3
  1078. -- text size: 10
  1079. -- style flags: 8448
  1080. -- line height: 13
  1081. -- part name: weaponshd
  1082.  
  1083.  
  1084. -- part 69 (field)
  1085. -- low flags: 81
  1086. -- high flags: 0002
  1087. -- rect: left=133 top=136 right=154 bottom=342
  1088. -- title width / last selected line: 0
  1089. -- icon id / first selected line: 0 / 0
  1090. -- text alignment: 0
  1091. -- font id: 3
  1092. -- text size: 12
  1093. -- style flags: 8448
  1094. -- line height: 16
  1095. -- part name: skillshd
  1096.  
  1097.  
  1098. -- part 70 (field)
  1099. -- low flags: 81
  1100. -- high flags: 0002
  1101. -- rect: left=133 top=138 right=154 bottom=404
  1102. -- title width / last selected line: 0
  1103. -- icon id / first selected line: 0 / 0
  1104. -- text alignment: 0
  1105. -- font id: 3
  1106. -- text size: 10
  1107. -- style flags: 256
  1108. -- line height: 13
  1109. -- part name: spellshd
  1110.  
  1111.  
  1112. -- part 71 (field)
  1113. -- low flags: 81
  1114. -- high flags: 0001
  1115. -- rect: left=144 top=138 right=336 bottom=249
  1116. -- title width / last selected line: 0
  1117. -- icon id / first selected line: 0 / 0
  1118. -- text alignment: 0
  1119. -- font id: 3
  1120. -- text size: 10
  1121. -- style flags: 256
  1122. -- line height: 13
  1123. -- part name: poolshd
  1124.  
  1125.  
  1126. -- part 72 (field)
  1127. -- low flags: 80
  1128. -- high flags: 0002
  1129. -- rect: left=133 top=132 right=150 bottom=322
  1130. -- title width / last selected line: 0
  1131. -- icon id / first selected line: 0 / 0
  1132. -- text alignment: 0
  1133. -- font id: 3
  1134. -- text size: 12
  1135. -- style flags: 8448
  1136. -- line height: 16
  1137. -- part name: cyberwearhd
  1138.  
  1139.  
  1140. -- part 73 (button)
  1141. -- low flags: 00
  1142. -- high flags: A004
  1143. -- rect: left=270 top=106 right=130 bottom=404
  1144. -- title width / last selected line: 0
  1145. -- icon id / first selected line: 0 / 0
  1146. -- text alignment: 1
  1147. -- font id: 0
  1148. -- text size: 12
  1149. -- style flags: 0
  1150. -- line height: 16
  1151. -- part name: Selector
  1152. ----- HyperTalk script -----
  1153. on mouseDown
  1154.   if the visible of fld Weapons is true then
  1155.     put "Walther Palm,Colt L36,Fichetti Security 500,Ares Predator,Browning Max-Power,Remington Roomsweeper,Ruger Super Warhawk,FN HAR,AK-97,Enfield AS7" into theMenuItems
  1156.     get PopUpMenu (theMenuItems, 0, Left of me+1, bottom of me)
  1157.     if it is not 0 then
  1158.       put return & item it of theMenuItems after fld "weapons"
  1159.     end if
  1160.   else if the visible of fld Spells is true then
  1161.     put "Power Missile,Power Bolt,Powerball,Fireball,Hellblast,Sleep,Ram,Analyze Device,Analyze Truth,Clairvoyance,Combat Sense,Detect Enemies,Detect Individual,Detect Life,Detect ...,Mind Probe,Chaos,Chaotic World,Confusion,Entertainment,Invisibility" into theMenuItems
  1162.     get PopUpMenu (theMenuItems, 0, left of me+1, 0)
  1163.     if it is not 0 then
  1164.       put return & item it of theMenuItems after fld "spells"
  1165.     end if
  1166.   end if
  1167. end mouseDown
  1168.  
  1169.  
  1170.  
  1171. -- part 76 (field)
  1172. -- low flags: 81
  1173. -- high flags: 0001
  1174. -- rect: left=134 top=134 right=342 bottom=413
  1175. -- title width / last selected line: 0
  1176. -- icon id / first selected line: 0 / 0
  1177. -- text alignment: 0
  1178. -- font id: 3
  1179. -- text size: 12
  1180. -- style flags: 8448
  1181. -- line height: 16
  1182. -- part name: Conditionhd
  1183.  
  1184.  
  1185. -- part 75 (field)
  1186. -- low flags: 80
  1187. -- high flags: 6002
  1188. -- rect: left=238 top=148 right=311 bottom=263
  1189. -- title width / last selected line: 0
  1190. -- icon id / first selected line: 0 / 0
  1191. -- text alignment: 0
  1192. -- font id: 3
  1193. -- text size: 12
  1194. -- style flags: 0
  1195. -- line height: 16
  1196. -- part name: Condition
  1197.  
  1198.  
  1199. -- part 19 (field)
  1200. -- low flags: 80
  1201. -- high flags: 0004
  1202. -- rect: left=6 top=57 right=307 bottom=225
  1203. -- title width / last selected line: 0
  1204. -- icon id / first selected line: 0 / 0
  1205. -- text alignment: 0
  1206. -- font id: 3
  1207. -- text size: 12
  1208. -- style flags: 0
  1209. -- line height: 16
  1210. -- part name: indexback
  1211.  
  1212.  
  1213. -- part 20 (field)
  1214. -- low flags: 81
  1215. -- high flags: 0007
  1216. -- rect: left=8 top=59 right=303 bottom=220
  1217. -- title width / last selected line: 0
  1218. -- icon id / first selected line: 0 / 0
  1219. -- text alignment: 0
  1220. -- font id: 3
  1221. -- text size: 12
  1222. -- style flags: 0
  1223. -- line height: 16
  1224. -- part name: indexlist
  1225. ----- HyperTalk script -----
  1226. on mouseup
  1227.   if the optionkey is down then
  1228.     set the locktext of me to false
  1229.   else if the commandkey is down then
  1230.     set the locktext of me to true
  1231.     hide the target
  1232.   else
  1233.     set the locktext of me to false
  1234.     click at the clickloc
  1235.     click at the clickloc
  1236.     select the selectedline
  1237.     put the selection into it
  1238.     set the locktext of me to true
  1239.     lock screen
  1240.     hide bg fld indexback
  1241.     hide me
  1242.     go to card it
  1243.     unlock screen with visual effect dissolve
  1244.   end if
  1245. end mouseup
  1246.  
  1247.  
  1248. -- part 77 (field)
  1249. -- low flags: 80
  1250. -- high flags: 0007
  1251. -- rect: left=348 top=185 right=342 bottom=512
  1252. -- title width / last selected line: 0
  1253. -- icon id / first selected line: 0 / 0
  1254. -- text alignment: 0
  1255. -- font id: 3
  1256. -- text size: 10
  1257. -- style flags: 0
  1258. -- line height: 13
  1259. -- part name: vehicle items
  1260.  
  1261.  
  1262. -- part 78 (field)
  1263. -- low flags: 80
  1264. -- high flags: 4002
  1265. -- rect: left=255 top=173 right=303 bottom=274
  1266. -- title width / last selected line: 0
  1267. -- icon id / first selected line: 0 / 0
  1268. -- text alignment: 0
  1269. -- font id: 3
  1270. -- text size: 10
  1271. -- style flags: 256
  1272. -- line height: 13
  1273. -- part name: Vehicle damage
  1274.  
  1275.  
  1276. -- part 79 (field)
  1277. -- low flags: 80
  1278. -- high flags: 6002
  1279. -- rect: left=279 top=148 right=311 bottom=304
  1280. -- title width / last selected line: 0
  1281. -- icon id / first selected line: 0 / 0
  1282. -- text alignment: 0
  1283. -- font id: 3
  1284. -- text size: 12
  1285. -- style flags: 0
  1286. -- line height: 16
  1287. -- part name: Condition mental
  1288.  
  1289.  
  1290. -- part 81 (field)
  1291. -- low flags: 80
  1292. -- high flags: 4002
  1293. -- rect: left=260 top=148 right=278 bottom=284
  1294. -- title width / last selected line: 0
  1295. -- icon id / first selected line: 0 / 0
  1296. -- text alignment: 0
  1297. -- font id: 3
  1298. -- text size: 10
  1299. -- style flags: 256
  1300. -- line height: 13
  1301. -- part name: Cyberdeck monitor
  1302.  
  1303.  
  1304. -- part 82 (field)
  1305. -- low flags: 80
  1306. -- high flags: 4002
  1307. -- rect: left=229 top=277 right=329 bottom=255
  1308. -- title width / last selected line: 0
  1309. -- icon id / first selected line: 0 / 0
  1310. -- text alignment: 0
  1311. -- font id: 3
  1312. -- text size: 10
  1313. -- style flags: 0
  1314. -- line height: 13
  1315. -- part name: cyberdeck progsize
  1316.  
  1317.  
  1318. -- part 83 (field)
  1319. -- low flags: 80
  1320. -- high flags: 0007
  1321. -- rect: left=319 top=212 right=342 bottom=512
  1322. -- title width / last selected line: 0
  1323. -- icon id / first selected line: 0 / 0
  1324. -- text alignment: 0
  1325. -- font id: 3
  1326. -- text size: 9
  1327. -- style flags: 0
  1328. -- line height: 12
  1329. -- part name: cyberdeck programs
  1330.  
  1331.  
  1332. -- part 84 (field)
  1333. -- low flags: 80
  1334. -- high flags: 4000
  1335. -- rect: left=183 top=135 right=150 bottom=324
  1336. -- title width / last selected line: 0
  1337. -- icon id / first selected line: 0 / 0
  1338. -- text alignment: 0
  1339. -- font id: 3
  1340. -- text size: 10
  1341. -- style flags: 0
  1342. -- line height: 13
  1343. -- part name: vehicle type
  1344.